package com.homeinns.lyx.trainserver.utils;

import com.homeinns.lyx.trainserver.vo.ResultVO;

public class ResultVOUtil {

    public static ResultVO success(Object o){
        ResultVO resultVO=new ResultVO();
        resultVO.setData(o);
        resultVO.setCode(0);
        resultVO.setMessage("请求成功");
        return resultVO;
    }
}
